﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucUserBar.ascx.cs" Inherits="Axis.Web.Views.Accounts.ucUserBar" %>
<ul id="main_user" class="main-user" runat="server">
    <li><a href="javascript:void(0)" class="user-login">Đăng nhập</a></li>
    <li><a href="javascript:void(0)">|</a></li>
    <li><a href="javascript:void(0)" class="user-register">Đăng ký</a></li>
</ul>
<div id="main_user_logged" class="main-user-logged" runat="server">
    <div class="cssFloatLeft" style="margin-right: 5px;">
        <div style="padding-top: 10px;">
            <img src="../../Images/img.bg/star-blue.png" />
            <a class="main-user-logged-hello">Chào mừng</a>
            <a href="javascript:void(0)" class="main-user-logged-Name">
                <asp:Literal runat="server" ID="ltrLoggedUserName"></asp:Literal>
            </a>
        </div>
        <div style="text-align: right; padding: 5px;">
            <a href="../Accounts/Profiles.aspx" id="btnChangeProflie" class="main-user-logged-Profile">Tài khoản</a>
            <span>| </span>
            <a href="javascript:void(0)" class="main-user-logged-logout">Thoát</a>
        </div>
    </div>
    <div class="cssFloatLeft">
        <a href="../Accounts/Profiles.aspx">
            <asp:Image runat="server" ID="imgLoggedAvatar" ClientIDMode="Static" />
        </a>
    </div>
</div>

<style>
#btnChangeProflie
{
   color: #7accc8
    }
</style>
<script language="javascript">
//    $(document).ready(function () {
//        $('#btnChangeProflie').each(function () {
//            var elem = $(this);
//            setInterval(function () {
//                if (elem.css('visibility') == 'hidden') {
//                    elem.css('visibility', 'visible');
//                } else {
//                    elem.css('visibility', 'hidden');
//                }
//            }, 1500);
//        });
//    });
</script>